package com.cardone.platform.authority.dto;

import java.util.Date;
import java.util.List;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import org.springframework.data.annotation.Transient;

import com.cardone.platform.authority.po.RolePermission;

/**
 * 角色与许可
 *
 * @author yaohaitao
 * 
 */
@Getter
@Setter
@Accessors(chain = true)
public class RolePermissionDto extends RolePermission {
	/**
	 * 版本号
	 */
	@Transient
	private static final long serialVersionUID = 162208271426682954L;
	
	
	/**
	 * 角色与许可
	 * 
	 * @author yaohaitao
	 * 
	 */
	public enum Attributes {
	
		/**
	     * 许可标识
	     */
		permissionId,
	}
	
	/**
	 * 角色与许可
	 * 
	 * @return 角色与许可
	 */
	public static RolePermissionDto newRolePermission() {
		return new RolePermissionDto();
	}
}